// CalDlg.h : header file
//

#if !defined(AFX_CALDLG_H__C070007E_13D1_4302_82BE_17148C47A094__INCLUDED_)
#define AFX_CALDLG_H__C070007E_13D1_4302_82BE_17148C47A094__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "al.h"
#include <string>
#include <iostream>
using namespace std;

/////////////////////////////////////////////////////////////////////////////
// CCalDlg dialog

class CCalDlg : public CDialog
{
// Construction
public:
	string GetString();
	CCalDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCalDlg)
	enum { IDD = IDD_CAL_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCalDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	string str;
	// Generated message map functions
	//{{AFX_MSG(CCalDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonSub();
	afx_msg void OnButtonRight();
	afx_msg void OnButtonMul();
	afx_msg void OnButtonLeft();
	afx_msg void OnButtonDiv();
	afx_msg void OnButtonClear();
	afx_msg void OnButtonAdd();
	afx_msg void OnEqual();
	afx_msg void OnButtonToTwo();
	afx_msg void OnButtonToEight();
	afx_msg void OnButtonToSixthteen();
	afx_msg void OnButtonPower();
	//}}AFX_MSG
	afx_msg void OnButton(int nNum);
	DECLARE_MESSAGE_MAP()
	
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CALDLG_H__C070007E_13D1_4302_82BE_17148C47A094__INCLUDED_)
